package org.beanutopia.example;

import org.beanutopia.UpdatableProperty;
import static org.beanutopia.example.Father.Properties.*;

/**
 * @author ymeymann
 * @since Apr 5, 2007 8:07:57 PM
 */
public class Father extends Man {
  //Father<D extends Father> extends Man<D>

  @SuppressWarnings({"serial"})
  public interface Properties extends Man.Properties {
    UpdatableProperty<Father, Byte> numOfKids = new UpdatableProperty<Father, Byte>() {};
  }
  public static void main(String[] args) {
    Father f = new Father();
    numOfKids.assign(f, (byte)1);
  }
  
}
